package com.atguigu.customer.service;

import com.atguigu.customer.bean.Customer;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface CustomerService extends IService<Customer> {

    Customer getCustomerById(Integer id);

    void saveCustomer(Customer customer);

    List<Customer> getCustomerByName(String name);

}